package com.twu.biblioteca;

import java.io.*;

/**
 * Created with IntelliJ IDEA.
 * User: Thoughtworker
 * Date: 8/20/13
 * Time: 3:10 PM
 * To change this template use File | Settings | File Templates.
 */
public class Biblioteca {
    private PrintStream printStream;
    private BufferedReader bufferedReader;
    Biblioteca(PrintStream ps, BufferedReader br) {
        printStream = ps;
        bufferedReader = br;
    }

    public void run(){
        printStream.println("Welcome");
    }

    public void openMenu() {
        printStream.println("Option1");
    }
    public String getSelection() throws IOException {
        String input = bufferedReader.readLine();
        return input;
    }
}
